#redis操作
import redis

#初始化
pool = redis.ConnectionPool(host='118.24.21.206',port=6379,password='57830716')
r = redis.Redis(connection_pool=pool)

#获取实例
def getInstanct():
    global r
    return r

